package com.atguigu.eduteacher.javabean;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class SubjectNestedDto {

    private String id;

    private String title;

    private List<SubjectDto> children = new ArrayList<>();

    public SubjectNestedDto(String id, String title) {
        this.id = id;
        this.title = title;
    }

    public SubjectNestedDto(){

    }
}
